package biz.impl;

import java.util.List;
import java.util.Map;

import dao.ZhiChengDao;

import entity.Zhichengbiao;
import biz.ZhiChengBiz;

public class ZhiChengBizImpl implements ZhiChengBiz {
	private ZhiChengDao zhiChengDao;
	public void addZhichengbiao(Zhichengbiao Zhichengbiao) {
		zhiChengDao.addZhichengbiao(Zhichengbiao);
	}

	public void updateZhichengbiao(Zhichengbiao Zhichengbiao) {
		zhiChengDao.updateZhichengbiao(Zhichengbiao);
	}

	public void deleteZhichengbiao(Long id) {
		zhiChengDao.deleteZhichengbiao(id);
	}

	public Zhichengbiao findOneZhichengbiaoById(Long id) {
		return zhiChengDao.findOneZhichengbiaoById(id);
	}

	public List<Zhichengbiao> findAllZhichengbiao() {
		return zhiChengDao.findAllZhichengbiao();
	}

	public List<Zhichengbiao> findZhichengbiaoByCondition(Map map,
			Integer pageNo, Integer size) {
		return zhiChengDao.findZhichengbiaoByCondition(map, pageNo, size);
	}
	public void setZhiChengDao(ZhiChengDao zhiChengDao) {
		this.zhiChengDao = zhiChengDao;
	}
	
}
